<template>
  <div class="select-address">
    <div class="select-body">
      <div class="select-addr">
        <div>
          <span>
            <i class="iconfont makerdizhi"></i>
          </span>
          <span v-if="!isAddr">请添加收货地址</span>
          <div v-else class="info-detail">
            <div>
              <span>艺林</span>
              <span style="margin-left:10px">13445679023</span>
            </div>
            <div>
              <span>江苏省 南京市 建邺区 信安大厦B座910</span>
            </div>
          </div>
        </div>
        <span @click="goToAddrList">
          <i class="iconfont makerarrow-right"></i>
        </span>
      </div>
      <!-- <div v-else class="addr-sure">

      </div>-->
    </div>
  </div>
</template>

<script>
export default {
  name: "SelectAddress",
  data() {
    return {
      isAddr: false,
    };
  },
  methods: {
    goToAddrList() {},
  },
};
</script>

<style scoped lang="scss">
.select-address {
  width: 100vw;
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  .select-body {
    width: 94vw;
    height: 10vh;
    background-color: #ffffff;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    .select-addr {
      width: 100%;
      font-size: 15px;
      color: #1e1e1e;
      padding: 0 3vw;
      display: flex;
      justify-content: space-between;
      align-items: center;
      & > div {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        font-weight: bolder;
        i {
          font-size: 18px;
          margin-right: 10px;
        }
      }
      .info-detail {
        color: #1e1e1e;
        font-size: 15px;
        & > div:last-child {
          margin-top: 1vh;
          color: #B3B3B3;
        }
      }
    }
    .makerarrow-right {
      color: #B3B3B3;
    }
  }
}
</style>